//
//  BIDSpinnerViewII.m
//  zhongrongbao
//
//  Created by mal on 15/10/27.
//  Copyright © 2015年 cnsoft. All rights reserved.
//

#import "BIDSpinnerViewII.h"

@implementation BIDSpinnerViewII

- (void)awakeFromNib
{
    [self setBackgroundColor:[UIColor colorWithWhite:0.2f alpha:0.8f]];
    self.layer.cornerRadius = 5.0f;
}

- (void)startAnimate
{
    [_indicatorView startAnimating];
}

- (void)stopAnimate
{
    [_indicatorView stopAnimating];
    [self removeFromSuperview];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
